package com.tzbank.entity.backstage;

import com.tzbank.entity.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 积分管理配置
 * @author 蔡宇钿	
 * 2018.6.4
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_integral_deploy")
@Table(appliesTo = "mb_integral_deploy", comment = "积分配置表")
public class IntegralDeploy extends BaseModel implements Serializable {/**
	 * 
	 */
	private static final long serialVersionUID = -2843759019918180072L;
	
	/**活动名称**/
	@ApiModelProperty(value = "活动名称")
	@Column(name = "active_name", columnDefinition = "varchar(100) NOT NULL COMMENT '活动名称' ")
	private String activename;
	
	/**活动类型**/
	@ApiModelProperty(value = "活动类型")
	@Column(name = "active_type", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '活动类型' ")
	private String activetype;
	
	/**活动开始日期**/
	@ApiModelProperty(value = "活动开始日期")
	@Column(name = "active_start_date", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '活动开始日期' ")
	private String activestartDate;
	
	/**活动结束日期**/
	@ApiModelProperty(value = "活动结束日期")
	@Column(name = "active_end_date", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '活动结束日期' ")
	private String activeendDate;
	
	/**积分变动值**/
	@ApiModelProperty(value = "积分变动值")
	@Column(name = "number", columnDefinition = "varchar(10) DEFAULT NULL COMMENT '积分变动值' ")
	private String number;
	
	/**有效性**/
	@ApiModelProperty(value = "有效性")
	@Column(name = "validity", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '有效性' ")
	private String validity;
	
	/**适应机构**/
	@ApiModelProperty(value = "适应机构")
	@Column(name = "organ", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '适应机构' ")
	private String organ;
	
	/**事件**/
	@ApiModelProperty(value = "事件")
	@Column(name = "event", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '事件' ")
	private String event;
	
	/**活动状态**/
	@ApiModelProperty(value = "活动状态")
	@Column(name = "status", columnDefinition = "varchar(10)  DEFAULT NULL COMMENT '活动状态' ")
	private String status;
	
	/**操作人**/
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "varchar(100) NOT NULL COMMENT '操作人' ")
	private String operator;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;
	
}
